import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

/**
 * 一个占位kongjian
 */
class PlaceholderDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Placeholder'),
        centerTitle: true,
      ),
      body: Placeholdertext(),
    );
  }
  
}

class Placeholdertext extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Placeholder(
      color: Colors.blue,
      strokeWidth: 3,
      fallbackHeight: 100,
      fallbackWidth: 100,
    );


  }

}